package com.wondertek.service.dto.app.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

/**
 * 报警趋势
 * @author wangyu
 */
@Data
public class HomePageDateReq {

    @Schema(name = "startDate", description = "开始时间")
    @NotNull(message = "starttime.not.null")
    private Date startDate;

    @Schema(name = "endDate", description = "结束时间")
    @NotNull(message = "endtime.not.null")
    private Date endDate;

    private String consumerId;
}
